// 今日任务切换按钮效果
const switchBtn = document.getElementById('task-switch');
const taskList = document.getElementById('task-list');
const tasktitle = document.getElementById('task-title');
let taskState = 0;
switchBtn.addEventListener('click', function () {
  if (taskState === 0) {
    tasktitle.innerHTML='<h3>今周任务</h3>';
    taskList.innerHTML = '<li>周任务1</li><li>周任务2</li>';
    taskState = 1;
  } else {
    tasktitle.innerHTML='<h3>今日任务</h3>';
    taskList.innerHTML = '<li>日任务1</li><li>日任务2</li>';
    taskState = 0;
  }
});
// 常用网站和常用热线弹窗（这里先模拟弹窗效果，后续可根据需求完善）
const websiteBtn = document.getElementById('website-btn');
const hotlineBtn = document.getElementById('hotline-btn');